package com.sun.evening.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.sun.evening.dao.dto.PictureInsertDto;
import com.sun.evening.dao.entity.PictureList;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PictureListMapper extends BaseMapper<PictureList> {
    @ApiModelProperty("根据图片名称查询对象")
    PictureList selectPictureListByName(String pictureName);
    @ApiModelProperty("根据图片名称批量插入数据")
    int insertPictureListDto(@Param("list") List<PictureInsertDto> pictureNameList);
}
